package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lipeiyi
 */
@ApiModel( value ="t_xz_promoterApply" )
@Table( name ="t_xz_promoterApply" )
public class PromoterApply  implements Serializable {


	/**
	 * 推广员申请表
	 */
    @Id
   	@Column(name = "apply_id",updatable = false)
	@ApiModelProperty( value="推广员申请表")
	private Integer applyId;

	/**
	 * 申请推广员用户id
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="申请推广员用户id")
	private Integer userId;

	/**
	 * 申请理由
	 */
   	@Column(name = "apply_reason" )
	@ApiModelProperty( value="申请理由")
	private String applyReason;

	/**
	 * 申请时间
	 */
   	@Column(name = "create_time" )
	@ApiModelProperty( value="申请时间")
	private String createTime;

	/**
	 * 处理时间
	 */
   	@Column(name = "handle_time" )
	@ApiModelProperty( value="处理时间")
	private String handleTime;

    /**
     * 总公司处理时间
     */
    @Column(name = "handle_timeM" )
    @ApiModelProperty( value="总公司处理时间")
    private String handleTimeM;

	/**
	 * 分销公司意见 0未处理 1 通过
	 */
   	@Column(name = "company_opinion" )
	@ApiModelProperty( value="分销公司意见 0未处理 1 通过")
	private Integer companyOpinion;

	/**
	 * 总公司意见 0未处理 1 通过
	 */
   	@Column(name = "main_company_opinion" )
	@ApiModelProperty( value="总公司意见 0未处理 1 通过")
	private Integer mainCompanyOpinion;

	/**
	 * 用户所属公司id
	 */
   	@Column(name = "company_id" )
	@ApiModelProperty( value="用户所属公司id")
	private Integer companyId;

    @Column(name = "apply_status" )
    @ApiModelProperty( value="申请类型 0 成为推广员 1 离职")
    private Integer applyStatus;

       @Transient
       private String userName;
       @Transient
       private String companyName;





  public Integer getApplyId() {
    return applyId;
  }

  public void setApplyId(Integer applyId) {
    this.applyId = applyId;
  }





  public String getApplyReason() {
    return applyReason;
  }

  public void setApplyReason(String applyReason) {
    this.applyReason = applyReason;
  }


  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }


  public String getHandleTime() {
    return handleTime;
  }

  public void setHandleTime(String handleTime) {
    this.handleTime = handleTime;
  }


  public Integer getCompanyOpinion() {
    return companyOpinion;
  }

  public void setCompanyOpinion(Integer companyOpinion) {
    this.companyOpinion = companyOpinion;
  }


  public Integer getMainCompanyOpinion() {
    return mainCompanyOpinion;
  }

  public void setMainCompanyOpinion(Integer mainCompanyOpinion) {
    this.mainCompanyOpinion = mainCompanyOpinion;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getHandleTimeM() {
        return handleTimeM;
    }

    public void setHandleTimeM(String handleTimeM) {
        this.handleTimeM = handleTimeM;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
